package com.hongye.common.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.hongye.common.core.annotation.Excel;
import com.hongye.common.core.web.domain.BaseEntity;

/**
 * 城市列表对象 fang_city
 * 
 * @author ruoyi
 * @date 2025-01-09
 */
public class FangCity extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Integer id;

    /** 省份id */
    @Excel(name = "省份id")
    private Integer provinceId;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 别名 */
    private String alias;

    /** 父级id */
    private Integer pid;

    /** 以有父级id，以|连接 */
    private String spid;

    /** 排序 */
    private Integer ordid;

    /** 状态 0禁用 1正常 */
    private Integer status;

    /** seo标题 */
    private String seoTitle;

    /** seo关键词 */
    private String seoKeys;

    /** seo描述 */
    private String seoDesc;

    /** 缩略图 */
    private String img;

    /** 绑定域名 */
    private String domain;

    /** 是否热门城市 */
    private Integer isHot;

    /** 经度 */
    private String lat;

    /** 纬度 */
    private String lng;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setProvinceId(Integer provinceId) 
    {
        this.provinceId = provinceId;
    }

    public Integer getProvinceId() 
    {
        return provinceId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setAlias(String alias) 
    {
        this.alias = alias;
    }

    public String getAlias() 
    {
        return alias;
    }
    public void setPid(Integer pid) 
    {
        this.pid = pid;
    }

    public Integer getPid() 
    {
        return pid;
    }
    public void setSpid(String spid) 
    {
        this.spid = spid;
    }

    public String getSpid() 
    {
        return spid;
    }
    public void setOrdid(Integer ordid) 
    {
        this.ordid = ordid;
    }

    public Integer getOrdid() 
    {
        return ordid;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setSeoTitle(String seoTitle) 
    {
        this.seoTitle = seoTitle;
    }

    public String getSeoTitle() 
    {
        return seoTitle;
    }
    public void setSeoKeys(String seoKeys) 
    {
        this.seoKeys = seoKeys;
    }

    public String getSeoKeys() 
    {
        return seoKeys;
    }
    public void setSeoDesc(String seoDesc) 
    {
        this.seoDesc = seoDesc;
    }

    public String getSeoDesc() 
    {
        return seoDesc;
    }
    public void setImg(String img) 
    {
        this.img = img;
    }

    public String getImg() 
    {
        return img;
    }
    public void setDomain(String domain) 
    {
        this.domain = domain;
    }

    public String getDomain() 
    {
        return domain;
    }
    public void setIsHot(Integer isHot) 
    {
        this.isHot = isHot;
    }

    public Integer getIsHot() 
    {
        return isHot;
    }
    public void setLat(String lat) 
    {
        this.lat = lat;
    }

    public String getLat() 
    {
        return lat;
    }
    public void setLng(String lng) 
    {
        this.lng = lng;
    }

    public String getLng() 
    {
        return lng;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("provinceId", getProvinceId())
            .append("name", getName())
            .append("alias", getAlias())
            .append("pid", getPid())
            .append("spid", getSpid())
            .append("ordid", getOrdid())
            .append("status", getStatus())
            .append("seoTitle", getSeoTitle())
            .append("seoKeys", getSeoKeys())
            .append("seoDesc", getSeoDesc())
            .append("img", getImg())
            .append("domain", getDomain())
            .append("isHot", getIsHot())
            .append("lat", getLat())
            .append("lng", getLng())
            .toString();
    }
}
